package com.atguigu.educms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * Created by Miracle yaochengwei on 2020/8/30 11:26
 */
@SpringBootApplication
@ComponentScan("com.atguigu")//指定扫描位置
@MapperScan("com.atguigu.educms.mapper") //调用数据库，需要用mapper扫描类
public class CmsApplication {
    public static void main(String[] args) {
        SpringApplication.run(CmsApplication.class,args);
    }
}
